package aa2

import (
	"fmt"
	"test-go/src/aa/aa1"
	// internal包直接引入失败
	//ai1 "test-go/src/aa/aa1/internal"
	ai2 "test-go/src/aa/aa1/internal2"
	// 编译出错
	//"test-go/src/aa/aa1/internal/internal_1"
)

func m1(b aa1.Aaa1) {
	fmt.Println(b.B)
}

// aaa1，b.a 无法访问，编译出错
//func m2_error(a aa1.aaa1, b aa1.Aaa1) {
//	fmt.Println(a.a, a.B, b.a)
//}

func m3(a ai2.Aaa1_internal2) {
	fmt.Println(a.B)
}
